<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>无权限访问 - 象棋网站</title>
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
  
  <script>
    tailwind.config = {
      theme: {
        extend: {
          colors: {
            chess: {
              board: '#E6B87D',
              dark: '#8B4513',
              light: '#F5DEB3',
              accent: '#D2691E'
            }
          }
        }
      }
    }
  </script>
  
  <style type="text/tailwindcss">
    @layer utilities {
      .chess-tile {
        background-image: radial-gradient(#8B451310 1px, transparent 1px);
        background-size: 16px 16px;
      }
      .piece-hover {
        transition: transform 0.3s ease;
      }
      .piece-hover:hover {
        transform: scale(1.05);
      }
    }
  </style>
</head>

<body class="bg-gray-50 min-h-screen flex items-center justify-center chess-tile p-4">
  <div class="max-w-md w-full bg-white rounded-lg shadow-md overflow-hidden">
    <!-- 顶部棋盘纹装饰条 -->
    <div class="h-2 bg-chess-board"></div>
    
    <div class="p-8 text-center">
      <!-- 象棋元素图标 -->
      <div class="w-20 h-20 mx-auto mb-6 piece-hover">
        <div class="bg-chess-dark rounded-full w-full h-full flex items-center justify-center text-white text-3xl font-bold">
          兵
        </div>
      </div>
      
      <!-- 错误信息 -->
      <h1 class="text-3xl font-bold text-gray-800 mb-2">403</h1>
      <p class="text-gray-600 mb-8">权限不足或会话已失效</p>
      
      <p class="text-gray-500 mb-8 text-sm">
        此页面需要登录后才能访问，就像正式棋局需要双方就位一样
      </p>
      
      <!-- 仅保留登录按钮 -->
      <a href="/" class="block w-full bg-chess-dark hover:bg-chess-dark/90 text-white py-3 rounded-md transition-colors duration-300 font-medium">
        前往登录
      </a>
    </div>
  </div>
</body>
</html>